package com.handle.common.core.enums;

import lombok.Getter;

/**
 * @author zhangqing
 * @version V1.0
 * @description 授权权限类型枚举
 * @date 4/3/2021 2:27 PM
 */
@Getter
public enum ScopeType {

    /**
     * oauth2授权模式
     */
    ALL("all","全部权限"),
    READ("read","读权限"),
    WRITE("write","写权限");

    private String code;
    private String name;

    ScopeType(String code, String name) {
        this.code = code;
        this.name = name;
    }

}
